package org.example.server;

import org.example.pojo.Emp;
import org.example.pojo.LimitPage;
import org.example.pojo.Result;

import java.lang.reflect.Array;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

public interface EmpServer {

    Emp login(Emp emp);

    LimitPage page(String name, Short gender, LocalDate begin, LocalDate end, Integer page, Integer pageSize);

    void delete(List ids);

    void add(Emp emp);

    Emp getById(Integer id);

    void update(Emp emp);
}